/*
 *    Copyright (c) 2018-2025, cloud All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: cloud
 */

package com.fuyao.cloud.asset.vo.warehous;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 冲销管理
 *
 * @author liyue
 * @date 2021-12-06 20:19:22
 */
@Data
@ColumnWidth(25)
@ApiModel(value = "冲销管理")
public class WarehousSellExcelVO {

	@ExcelProperty(value="状态")	// ：默认为0{0：草稿、3：已完成
	private String status;

	@ExcelProperty(value="单据类型")	// ：默认为ALL{ DEVICE:资产类；CONSUMABLES：易耗品；All:混合}
	private String type;

	@ExcelProperty(value="冲销单号")
	private String caseid;

	@ExcelProperty(value="验收单号")
	private String parentCaseid;

	@ExcelProperty(value="冲销时间")
	private LocalDateTime inTime;

	@ExcelProperty(value="供应商")
	private String supplierName;

    @ExcelProperty(value="经办人")
    private String createBy;

	@ExcelProperty(value="经办日期")
	private LocalDateTime createTime;

	@ExcelProperty(value="经办单位")
	private String deptFullname;

	@ExcelProperty(value="合同或发票")
	private String contractName;

	@ExcelProperty(value="存放房间")
	private String houseName;

	@ExcelProperty(value="存放位置")
	private String locationName;

	@ExcelProperty(value="采购方式")	// 01：邀标、02：自采:03：政府采购
	private String method;

	@ExcelProperty(value="冲销总价格")
	private BigDecimal amount;

	@ExcelProperty(value="货币类型")
	private String currencyType;

	@ExcelProperty(value="冲销说明")
	private String explains;

	@ExcelProperty(value="冲销明细")
	private String detailed;

	@ExcelIgnore
	@ApiModelProperty(value="存放地点")
	private String fullLocation;

	@ExcelIgnore
	@ApiModelProperty(value="单据性质")	// （0冲销单，1冲销单）
	private String classify;
}
